/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package controllers;

import play.jobs.*;
import models.*;

@OnApplicationStart
public class Bootstrap extends Job {

    public void doJob() {
        Long id = new Long (0);
            Provs prov = Provs.findById(id);
            if (prov == null)
            {
                byte seatsNumber = 1;
                float fareFixed = 1;
                float farePerMinute = 1;
                prov = new Provs ("Admin", "name", "lastname", "zip", "city", "stateProvince", "country", "vatr@gmail.com", "typeOfCar", seatsNumber, fareFixed, farePerMinute,"password");
            }
        }
}

